#include <stdio.h>
#define println(fmt, ...) printf(fmt, ##__VA_ARGS__), printf("\n")

class Student
{
  protected:
    int num;
    float score;

  public:
    Student(int n, float s) : num(n), score(s) {}
    void display()
    {
        printf("num: %d, score: %f\n", num, score);
    }
};

int main()
{
    println("%s%d", "asdf", 2);

    Student stud[5] = {
        Student(1, 70),
        Student(2, 89),
        Student(3, 94.5),
        Student(4, 90),
        Student(5, 66),
    };
    Student *p = stud;
    for (unsigned int i = 0; i <= (sizeof(stud) / sizeof(Student) / 2); p = p + 2, i++)
    {
        p->display();
    }
}